-
Home
-
Square Sync for WooCommerce | Comprehensive Data Sync Between Square and WooCommerce
-
5.0.5
-
Code
-
Classes
- SquareHelper
Total Complexity |
85 |
Dependencies |
0 |
Dependents |
9 |
Total lines |
502 |
Lines of code |
287 |
Logical lines of code |
160 |
Comment lines |
124 |
Methods |
18 |
Properties |
4 |
Methods 18
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
update_square_product() |
A |
46 |
15 |
35 |
square_api_request() |
A |
40 |
12 |
53 |
update_variable_product_variations() |
A |
55 |
10 |
18 |
updated_inventory_data() |
A |
52 |
8 |
23 |
get_inventory() |
S |
54 |
5 |
22 |
process_queue() |
S |
55 |
4 |
21 |
decrypt_access_token() |
S |
58 |
4 |
15 |
update_simple_product_variation() |
S |
65 |
5 |
8 |
is_token_valid() |
S |
65 |
4 |
8 |
getVariationById() |
S |
67 |
3 |
8 |
getVariationByParentId() |
S |
67 |
3 |
8 |
update_variations() |
S |
67 |
3 |
7 |
encrypt_access_token() |
S |
61 |
2 |
11 |
update_inventory() |
S |
53 |
1 |
22 |
get_access_token() |
S |
71 |
2 |
5 |
get_square_item_details() |
S |
63 |
2 |
10 |
queue_request() |
S |
64 |
1 |
10 |
__construct() |
S |
80 |
1 |
3 |